/** * 最好针对不同的业务划分store,不用把所有的业务写在一个store里 */ declare const Store: import("redux").Store>; export default Store; /** * 自定义的Provider,在context内注册名称为editor_store的store对象 */ export declare let Provider: any; /** * 和上面的Provider配套的connect,从context中获取名为editor_store的store对象进行订阅 */ export declare function connect(mapStateToProps: any, mapDispatchToProps: any, mergeProps: any): any; declare const actions: {}; /** * 根据配置文件,创建action对象,绑定Store上下文 * @param {stirng} name 区分不同业务模块,state用该名称的属性存储该业务的state * @param {*} cfx 配置,包括reduers和effects */ export declare function createAction({ name, reducers, effects, selectors }: { name: any; reducers: any; effects: any; selectors: any; }): any; export { actions };